package cn.abcsys.cloud.devops.monitor.common;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

//@Component("systemConfig")
@Configuration
@PropertySource(value = "classpath:config/system.properties")
public class SystemConfig {
	@Value("${zabbix.server.url}")
	private String zabbixServer;
	@Value("${zabbix.user}")
	private String zabbixUser;
	@Value("${zabbix.pwd}")
	private String zabbixPwd;
	@Value("${service.application}")
	private String serviceApplication;
	@Value("${service.deployer}")
	private String serviceDeployer;

	public String getZabbixServer() {
		return zabbixServer;
	}

	public void setZabbixServer(String zabbixServer) {
		this.zabbixServer = zabbixServer;
	}

	public String getZabbixUser() {
		return zabbixUser;
	}

	public void setZabbixUser(String zabbixUser) {
		this.zabbixUser = zabbixUser;
	}

	public String getZabbixPwd() {
		return zabbixPwd;
	}

	public void setZabbixPwd(String zabbixPwd) {
		this.zabbixPwd = zabbixPwd;
	}

	public String getServiceApplication() {
		return serviceApplication;
	}

	public void setServiceApplication(String serviceApplication) {
		this.serviceApplication = serviceApplication;
	}

	public String getServiceDeployer() {
		return serviceDeployer;
	}

	public void setServiceDeployer(String serviceDeployer) {
		this.serviceDeployer = serviceDeployer;
	}

}
